import { Component } from '@angular/core';

import {  ModalController ,NavController,NavParams} from 'ionic-angular';
import { AboutPage } from '../about/about';
import { ContactPage } from '../contact/contact';
import { HomePage } from '../home/home';
import { CentrifugalPage } from '../centrifugal/centrifugal';
import { EquipmentPage } from '../equipment/equipment';


@Component({
  templateUrl: 'tabs.html'
})
export class TabsPage {

  tab1Root = HomePage;
  tab2Root = AboutPage;
  tab3Root = ContactPage;
  tab4Root = CentrifugalPage;
  tab5Root = EquipmentPage;
  rootdata1:any;
  rootdata2:any;
  rootdata3:any;
  rootdata4:any;
  rootdata5:any;
  constructor(public modalCtrl: ModalController,public navCtrl: NavController,public navParams: NavParams) {
    //console.log(this.navParams.get('data'));
    this.rootdata1=this.navParams.get('data');
    this.rootdata2=this.navParams.get('data');
    this.rootdata3=this.navParams.get('data');
    this.rootdata4=this.navParams.get('data');
    this.rootdata5=this.navParams.get('data');
    
  }



  
}
